package test;

public class PingPongCoach extends Coach {

    public PingPongCoach() {
    }

    public PingPongCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("姓名是"+getName()+"年龄是"+getAge()+"的篮球球运动员在学抽球");

    }
}
